#-------------------------------------------------
#
# Project created by QtCreator 2020-06-20T01:36:12
#
#-------------------------------------------------

QT       += core gui
QT       += multimedia
QT       += sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = QtCamera
TEMPLATE = app

DEFINES += QT_DEPRECATED_WARNINGS

SOURCES += main.cpp\
        mainwindow.cpp \
    login.cpp \
    publicfile.cpp \
    ffmpeg.cpp \
    settings.cpp \
    screenthread.cpp \
    recordthread.cpp \
    screen.cpp \
    showpicture.cpp \
    record.cpp \
    decoder.cpp \
    playvideo.cpp

HEADERS  += mainwindow.h \
    login.h \
    publicfile.h \
    ffmpeg.h \
    externdata.h \
    settings.h \
    screenthread.h \
    yuyvtorgb888.h \
    recordthread.h \
    screen.h \
    showpicture.h \
    record.h \
    decoder.h \
    playvideo.h


INCLUDEPATH += ./ffmpeg/include
LIBS += -L./ffmpeg/lib/ -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lpostproc -lswscale -lswresample


QMAKE_CXXFLAGS += -Wno-unused-parameter
QMAKE_CXXFLAGS += -Wno-unused-variable
QMAKE_CXXFLAGS += -Wno-write-strings
QMAKE_CXXFLAGS += -Wno-deprecated-declarations
QMAKE_CXXFLAGS += -Wno-sign-compare
